Skip to main content

Near Real-Time Monitoring

Poly Lens GraphQL Subscription APIs enable you to monitor Poly devices and receive state-changes in near real-time.

Examples

Get updated people count in a room when the number of people in the room changes.

Supported APIs

Near Real-Time Room Occupancy

APIDescriptionTypeRequired ArgumentsRequires Poly Lens Premium
peopleCountStreamMonitors room(s) for changes in people count and provides updated people count whenever it changes.SubscriptiontenantId, roomIdsYes

Near Real Time Device Status

APIDescriptionTypeRequired ArgumentsRequires Poly Lens Premium
deviceStreamMonitors various key attributes of Poly devices and provides an update when their values change.SubscriptiondeviceIdsNo